package com.atguigu.lease.web.admin.service.impl;

import com.atguigu.lease.model.entity.AttrKey;
import com.atguigu.lease.web.admin.mapper.AttrKeyMapper;
import com.atguigu.lease.web.admin.service.AttrKeyService;
import com.atguigu.lease.web.admin.vo.attr.AttrKeyVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: AttrKeyServiceImpl
 * Package: com.atguigu.lease.web.admin.service.impl
 * Description:
 *
 * @Author ygf
 * @Create 2024/9/13 10:42
 * @Version 1.0
 */
@Service
public class AttrKeyServiceImpl extends ServiceImpl<AttrKeyMapper,AttrKey> implements AttrKeyService {

    @Autowired
    private AttrKeyMapper attrKeyMapper;
    @Override
    public List<AttrKeyVo> listAttrInfo() {
        //调用Dao层
        return attrKeyMapper.listAttrInfo();
    }
}
